package com.chan.hook.util;

import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;

/**
 * Created by chan on 16/4/14.
 */
public class Utils {

    public static void invokePluginActivity(Activity activity, Class<?> who) {
        PackageManager packageManager = activity.getPackageManager();
        Intent intent = new Intent(activity, who);
        intent.putExtra(Constant.EXTRA_INVOKE_PLUGIN, true);
        activity.startActivity(intent);
    }
}
